package com.example.flashsales.mappers;

import com.example.flashsales.entity.vo.UserCostRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface UserCostRecordMapper {

//    增加一条纪录
    int addRecord(@Param("userId")long userId,@Param("orderId") long orderId, @Param("money") double money, @Param("state") int state, @Param("adminId") long adminId);

}
